import { createBrowserRouter,Navigate } from "react-router-dom";
import App from "../App";
import Sp from "../pages/sp";
import Sou from "../pages/Sou";
const router = createBrowserRouter([
    {path:'/app',element:<App></App>},
    {path:'/sou',element:<Sou></Sou>},
    {path:'/sp/:name',element:<Sp></Sp>},

    {path:'/',element:<Navigate to='/app'></Navigate>}
])

export default router